package com.kingsoft.miot.bridge.common;

/**
 * 返回各种角色所有能控制的角色代码
 * 
 * @author HUJIANQING
 *
 */
public final class RolesOwner {

	private static String[] ALL = new String[] { Roles.ALL_MANAGER, Roles.CHEIF_MANAGER, Roles.AREA_MANAGER,
			Roles.HOTEL_MANAGER, Roles.ORDINARY_MANAGER };
	private static String[] CHIEF = new String[] { Roles.AREA_MANAGER, Roles.HOTEL_MANAGER };
	private static String[] AREA = new String[] { Roles.HOTEL_MANAGER, Roles.ORDINARY_MANAGER };
	private static String[] HOTEL = new String[] { Roles.ORDINARY_MANAGER };

	public static String[] getAll() {
		return ALL;
	}

	public static String[] getChief() {
		return CHIEF;
	}

	public static String[] getArea() {
		return AREA;
	}

	public static String[] getHotel() {
		return HOTEL;
	}

}
